package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-07
 */
@TableName("SFC_IN_WORK")
public class SfcInWork extends Model<SfcInWork> {

    private static final long serialVersionUID = 1L;

   @TableField("HANDLE")
   private String handle;
   @TableField("SFC_STEP_BO")
   private String sfcStepBo;
   @TableField("OWNER_GBO")
   private String ownerGbo;
   @TableField("PAUSED")
   private String paused;
   @TableField("RESOURCE_BO")
   private String resourceBo;
   @TableField("WORK_CENTER_BO")
   private String workCenterBo;
   @TableField("QTY_IN_WORK")
   private Double qtyInWork;
   @TableField("DATE_STARTED")
   private Date dateStarted;
   @TableField("REWORK")
   private String rework;
   @TableField("USER_BO")
   private String userBo;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSfcStepBo() {
      return sfcStepBo;
   }

   public void setSfcStepBo(String sfcStepBo) {
      this.sfcStepBo = sfcStepBo;
   }

   public String getOwnerGbo() {
      return ownerGbo;
   }

   public void setOwnerGbo(String ownerGbo) {
      this.ownerGbo = ownerGbo;
   }

   public String getPaused() {
      return paused;
   }

   public void setPaused(String paused) {
      this.paused = paused;
   }

   public String getResourceBo() {
      return resourceBo;
   }

   public void setResourceBo(String resourceBo) {
      this.resourceBo = resourceBo;
   }

   public String getWorkCenterBo() {
      return workCenterBo;
   }

   public void setWorkCenterBo(String workCenterBo) {
      this.workCenterBo = workCenterBo;
   }

   public Double getQtyInWork() {
      return qtyInWork;
   }

   public void setQtyInWork(Double qtyInWork) {
      this.qtyInWork = qtyInWork;
   }

   public Date getDateStarted() {
      return dateStarted;
   }

   public void setDateStarted(Date dateStarted) {
      this.dateStarted = dateStarted;
   }

   public String getRework() {
      return rework;
   }

   public void setRework(String rework) {
      this.rework = rework;
   }

   public String getUserBo() {
      return userBo;
   }

   public void setUserBo(String userBo) {
      this.userBo = userBo;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SFC_STEP_BO = "SFC_STEP_BO";

   public static final String OWNER_GBO = "OWNER_GBO";

   public static final String PAUSED = "PAUSED";

   public static final String RESOURCE_BO = "RESOURCE_BO";

   public static final String WORK_CENTER_BO = "WORK_CENTER_BO";

   public static final String QTY_IN_WORK = "QTY_IN_WORK";

   public static final String DATE_STARTED = "DATE_STARTED";

   public static final String REWORK = "REWORK";

   public static final String USER_BO = "USER_BO";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "SfcInWork{" +
         "handle = " + handle +
         ", sfcStepBo = " + sfcStepBo +
         ", ownerGbo = " + ownerGbo +
         ", paused = " + paused +
         ", resourceBo = " + resourceBo +
         ", workCenterBo = " + workCenterBo +
         ", qtyInWork = " + qtyInWork +
         ", dateStarted = " + dateStarted +
         ", rework = " + rework +
         ", userBo = " + userBo +
         "}";
   }
}